package com.ruix.app.ui.adapter;

import android.content.Context;

import com.ruix.app.R;
import com.ruix.app.adapter.superadapter.SuperAdapter;
import com.ruix.app.adapter.superadapter.internal.SuperViewHolder;
import com.ruix.app.model.LessonPostMember;

/**
 * Created by hadexs on 2017/5/23.
 */

public class LessonSumupMemberAdapter extends SuperAdapter<LessonPostMember> {

    public LessonSumupMemberAdapter(Context context) {
        super(context, R.layout.item_sumup_menber);
    }

    @Override
    public void onBind(SuperViewHolder holder, int viewType, int position, LessonPostMember item) {
        holder.setSimpleDraweeURI(R.id.sdv_user_avatar,item.getAvatar());
    }
}
